/**
 * gitee: https://gitee.com/loveMiaoW/wackyScript.git
 * author: MrLiu
 * date: 2024-0509-0923
 * describe: C++ version of OpenCV testing program
*/


#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>

using namespace cv;

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    Mat image=imread("opencv.png",1);//一定要使用绝对路径，其他可以会报错
    namedWindow( "Display window", WINDOW_AUTOSIZE);
    imshow( "Display window", image );
    return a.exec();
}

// 图片链接
// 本仓库的 opencv.png
